package com.wfh.yudada.scroing;

import com.wfh.yudada.model.entity.App;
import com.wfh.yudada.model.entity.UserAnswer;

import java.util.List;

/**
 * @Author FengHuan Wang
 * @Date 2025/5/23 12:25
 * @Version 1.0
 */
public interface ScoringStrategy {

    /**
     * 执行评分
     *
     * @param choices
     * @param app
     * @return
     * @throws Exception
     */
    UserAnswer doScore(List<String> choices, App app) throws Exception;
}

